<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
  <th:block th:include="include :: header('新增项目方案描述')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
  <form class="form-horizontal m" id="form-projectPlan-addDescription">
    <input name="projectId" th:value="${projectId}"  type="hidden">
    <div class="form-group">
      <label class="col-sm-3 control-label"><span style="color: red; ">*</span>描述信息：</label>
      <div class="col-sm-8">
        <textarea maxlength="200" rows="6" id="planDescription" name="planDescription" class="form-control" required></textarea>
      </div>
    </div>
  </form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
  var prefix = ctx + "project/projectPlan"
  $("#form-projectPlan-addDescription").validate({
    focusCleanup: true
  });

  function submitHandler() {
    if ($.validate.form()) {
      $.operate.save(prefix + "/addDescription", $('#form-projectPlan-addDescription').serialize());
    }
  }
</script>
</body>
</html>
